<%@page contentType="text/html; charset=utf-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<style>
.searchBar .searchContent td{padding-right:10px;} 
</style>
<form id="storepagerForm" method="post" action="storageList">	
	<input type="hidden" name="pageNum" value="${param.pageNum}" />	
</form>
<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" rel="storepagerForm"  method="post" action="storageList">
	<div class="searchBar" >
	<input type="hidden" name="numPerPage" value="${numPerPage}" />
	<input type="hidden" name="pageNum" value="${pageNum}" /> 
	<table class="searchContent" >
			<tr>
				<td>
					<label style="width:60px;">箱标签号:</label>
					<input type="text" name="boxLabels" value="" size="16" />
				</td>
				<td>
					<label style="width:40px;">imei:</label>
					<input type="text" name="imei" value="" size="16"  />
				</td>
				<td>
					 <label style="width: 50px;">供应商:</label> 
                     <select class="combox" name="customerId">
                     	<option value="0">-选择供应商-</option>
                     	<option value="1">富士康</option>
                     </select>
				</td>
				<td>
					 <label style="width:40px;">品牌:</label> 
					 <select  name="brandId" class="combox">
                     	<option value="0">-选择品牌-</option>
                     	<option value="1">小蜜蜂</option>
                     </select>
				</td>				
				<td>
					<label style="width:40px;">型号：</label> 
                    <select class="combox"  name="modelId">
                    	<option value='0'>-选择型号-</option>
                        <option value='1'>S6</option>                           
                     </select>
				</td>
				<td style="">
					 <div class="subBar">
						<ul>
							<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
						</ul>
					</div>
				</td>
			</tr>
		</table>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li>
				<a class="delete" style="font-weight: bold;color:#C1272A;" href="delStorage?navTabId=storageList&storageId={sid_storageId}"
					target="ajaxTodo" title="确定要删除您所选中的库存数据吗?"><span>删除</span>
				</a>
			</li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="115">
		<thead>
			<tr>
				<th width="50">序号</th>
                <th width="50">库存ID</th>
                <th width="70">供应商全称</th>
                <th width="60">品名</th>
                <th width="50">品牌</th>
                <th width="50">型号</th>
                <th width="50">颜色</th>
                <th width="40">机身码(imei)</th>
                <th width="30">箱标签号</th>   
                <th width="35">库存时间</th>            
			</tr>
		</thead>
		<tbody>
		   <c:forEach var="employee" items="${employeeList}" varStatus="status">
	 		 
           </c:forEach>   
                 <tr target="sid_storageId" rel="65655">
                	<td>2</td>
                	<td>23435</td>
                	<td>深圳宝安富士康</td>
                	<td>手机</td>
                	<td>苹果</td>
                	<td>5S</td>
                	<td>黑色</td>
                	<td>947406200001</td>
                	<td>A20000561E4719</td>
                	<td>2013-09-20</td>
                </tr>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<!-- pageNum:1是当更改numPerPage时，使pageNum=1重新开始，否则可能无数据 -->
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value,pageNum:1})">
				<option value="15" ${numPerPage==15?'selected':''}>15</option>
				<option value="20" ${numPerPage==20?'selected':''}>20</option>
				<option value="25" ${numPerPage==25?'selected':''}>25</option>
				<option value="50" ${numPerPage==50?'selected':''}>50</option>
				<option value="100" ${numPerPage==100?'selected':''}>100</option>
			</select>
			<span>条，共100条 </span>
		</div>		
		<div class="pagination" targetType="navTab" totalCount="100" numPerPage="${numPerPage}" pageNumShown="5" currentPage="<%=1%>"></div>

	</div>
</div>
